package com.campus.backend.bean.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class UserStatusBean {
    @ApiModelProperty("用户ID")
    @NotEmpty(message = "用户ID不能为空")
    private List<Integer> ids;

    @ApiModelProperty("状态：1-正常，0-禁用")
    @NotNull(message = "状态不能为空")
    private Integer status;
}
